package com.zho.common.server;

import javax.servlet.ServletContext;

public abstract class ServerConfig {
    
    /**
     * Keep reference to the only ServletContext instance of application (per
     * JVM).
     */
    private static ServletContext servletContext;

    public static void setServletContext(ServletContext sc) {
        servletContext = sc;
    }

    /**
     * 
     * @return
     */
    public static ServletContext getServletContext() {
        return servletContext;
    }
}
